<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * 首页模块
 */
class Index extends Api
{
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';


    /**
     *
     * 首页列表
     */
    public function index(){
        $city = input('city');
        $search = input('search');
        $this->success('成功', model('dynamic')->indexList($city, $search));
    }

}